from flask import Blueprint, request, render_template
from configs.sqlAlchemy_conf import db_session


# 这里完成 搜索首页

sear = Blueprint('sear', __name__)


@sear.route("/", methods=['GET', 'POST'])
def index():
    if request.method == "GET":
        # 返回
        return render_template('search_home.html')
    else:
        page_text = ""
        return render_template('search_home.html', page_text)


